package com.dada.tiku.service;

import java.util.List;

import com.dada.tiku.pojo.Subject;
import com.dada.tiku.pojo.SubjectAnswer;
import com.dada.tiku.pojo.SubjectOptions;
import com.dada.tiku.utils.WxResult;

public interface SubjectService {

	WxResult queryAll(Integer start, Integer count, String openid);

	List<Subject> queryByCategory(String category, Integer start, Integer count, String openid);

	WxResult addError(Integer subid, String openid);

	WxResult removeError(Integer subid, String openid);

	WxResult addConnection(Integer subid, String openid);

	WxResult cancelConnection(Integer subid, String openid);

	List<SubjectOptions> findAnswer(Integer subid);

	WxResult findPaperSubjectList(Integer paperid, Integer start, Integer count, String openid);

	WxResult isCollection(Integer id, String openid);

	WxResult getCollectionList(String openid, Integer start, Integer count);

	WxResult getErrorList(String openid, Integer start, Integer count);

}
